package com.dynamixsoftware.printershare.smb;

class SmbComWritePrintFile
  extends ServerMessageBlock
{
  private byte[] data;
  private long dataLength;
  private long fid;
  
  SmbComWritePrintFile(long paramLong1, long paramLong2, byte[] paramArrayOfByte)
  {
    this.fid = paramLong1;
    this.dataLength = paramLong2;
    this.data = paramArrayOfByte;
    this.command = -63;
  }
  
  int readBytesWireFormat(byte[] paramArrayOfByte, int paramInt)
  {
    return 0;
  }
  
  int readParameterWordsWireFormat(byte[] paramArrayOfByte, int paramInt)
  {
    return 0;
  }
  
  int writeBytesWireFormat(byte[] paramArrayOfByte, int paramInt)
  {
    int i = paramInt + 1;
    paramArrayOfByte[paramInt] = 1;
    writeInt2(this.dataLength, paramArrayOfByte, i);
    int j = i + 2;
    System.arraycopy(this.data, 0, paramArrayOfByte, j, (int)this.dataLength);
    return (int)(j + this.dataLength) - paramInt;
  }
  
  int writeParameterWordsWireFormat(byte[] paramArrayOfByte, int paramInt)
  {
    writeInt2(this.fid, paramArrayOfByte, paramInt);
    return 2;
  }
}


/* Location:           C:\Users\Admin\Desktop\Decompiler\JAD\jd-gui-0.3.6.windows\classes_dex2jar.jar
 * Qualified Name:     com.dynamixsoftware.printershare.smb.SmbComWritePrintFile
 * JD-Core Version:    0.7.0.1
 */